#include"List.h"

void test01()
{
	LTNode* plist = NULL;
	LTInit(&plist);

	/*LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);*/

	LTPushFront(plist, 1);
	LTPushFront(plist, 2);
	LTPushFront(plist, 3);
	LTPushFront(plist, 4);

	LTPopBack(plist);
	LTPopFront(plist);
	LTPrint(plist);

	LTNode* pos = LTFind(plist, 2);

	LTInsert(pos, 100);
	LTPrint(plist);

	LTDesTroy(&plist);


}

int main()
{
	test01();
	return 0;
}